class Remark {
    String title = ''
    String content = ''
    Date createTime = new Date()

    User user

    static belongsTo = [post:Post]

    static constraints = {
            title(size: 1..50,blank: false)
            content(size: 1..500,blank: false)
            user(nullable: false)
    }
}
